package org.example.model.activity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("registration")
public class Registration implements Serializable {
    @TableId(value = "registration_id",type = IdType.AUTO)
    private Integer pkId;
    private Integer activityId;
    private Integer userId;
    @TableField("registration_time")
    private Date time;
    @TableField("registration_channel")
    private Integer channel;
    private String channelSource;
}
